-
Notifications
You must be signed in to change notification settings - Fork 365
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support openning raw Bayer (as gray YUV400) and CMYK (as RGBA) file #576
Conversation
Hi @for13to1 thx for the PR and sorry that I did not find any time to look at this yet.
|
Thanks for replying. I suppose that showing Bayer raw file in gray is OK, because they are actually of one channel 's size, and in the other hand, this is exactly what raw file should look like. If it show Bayer pattern raw in RGB color normally, it needs algorithm like demosaic etc. As for CMYK, it comes from printing. Its transfer relationship is as following (copied from Wikipedia):
|
I do agree that having something is better then having nothing. So I would like to have much better support for these image types but for now I think I can merge something as you suggested. I will also create some issues to improve the support of these image types. |
Sure. Thank you for considering this for future implementation. The zip file below contains the mentioned raw files transferred from the original image kodim19.png: If by this very PR modification, they will look like this (the CMYK file being treated as RGBA is somehow strange but interesting indeed, haha): |
Merged in #583 |
Got it, thanks. |
BTW, update CSC matrix coefficients slightly.